package yichang;

public class Test01 {
	public static void main(String[] args)  {
		Student s=new Student();
		try {
			s.setAge(-1);
		} catch (AgeException e) {
			System.out.println(e.getMessage());
		}
		int ge=s.getAge();
		System.out.println(ge);
	}
}
